﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace dzjc
{
    #region Json数据对象
    public class Material_tag
    {
        public class ChildrenItem
        {
            /// <summary>
            /// 
            /// </summary>
            public string tag_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<HierarchiesItem> hierarchies { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string tag_name { get; set; }
        }


        public class HierarchiesItem
        {
            /// <summary>
            /// 
            /// </summary>
            public List<ChildrenItem> children { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public object ext { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string hierarchy_name { get; set; }
        }

        public class Root
        {
            /// <summary>
            /// 
            /// </summary>
            public string tag_path { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<HierarchiesItem> hierarchies { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public object ext { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string tenant_id { get; set; }
        }
    }


    public class Data
    {
        public class Custom_properties
        {
            /// <summary>
            /// 
            /// </summary>
            public string auto_fill_thumb { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public object ext_properties { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string format { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string height { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int is_top { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public Dictionary<string, string> preview { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> providers { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int res_sort { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string resolution { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int size { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string sys_trans_status { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> thumbnails { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string width { get; set; }
        }

        public class Tag_listItem
        {
            /// <summary>
            /// 
            /// </summary>
            public string tag_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string tag_name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string tag_dimension_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int order_num { get; set; }
        }

        public class Root
        {
            /// <summary>
            /// 
            /// </summary>
            public string id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public Custom_properties custom_properties { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string resource_type_code { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string language { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string provider { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string create_time { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string update_time { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<Tag_listItem> tag_list { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string status { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string create_container_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string resource_type_code_name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public object ti_items { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string online_time { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> tag_paths { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string container_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string tenant_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public object smart_link { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string title { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> label { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public object provider_list { get; set; }
        }
    }

    #endregion



    #region tab数据对象


    public class ChildrenItem
    {
        public class Ext
        {
            public List<string> has_next_tag_path { get; set; }
            public string tag_dimension_id { get; set; }
            public List<string> hidden_tags { get; set; }
        }

        public class HierarchiesItem
        {
            public List<ChildrenItem> children { get; set; }
            public Ext ext { get; set; }
            public string hierarchy_name { get; set; }
        }

        public string tag_id { get; set; }
        public string tag_dimension_id { get; set; }
        public List<HierarchiesItem> hierarchies { get; set; }
        public string ext { get; set; }
        public string tag_description { get; set; }
        public string tag_name { get; set; }
    }

    #endregion


    #region Ti数据

    public class ti_items
    {
        public class RequirementsItem
        {
            public string name { get; set; }
            public string type { get; set; }
            public string value { get; set; }
        }

        public class Custom_properties
        {
            public List<RequirementsItem> requirements { get; set; }
            public string identification { get; set; }
        }

        public string ti_md5 { get; set; }
        public int ti_size { get; set; }
        public string ti_storage { get; set; }
        public List<string> ti_storages { get; set; }
        public string ti_file_flag { get; set; }
        public string ti_is_source_file { get; set; }
        public Custom_properties custom_properties { get; set; }
        public string ti_printable { get; set; }
        public string ti_format { get; set; }
        public string lc_ti_format { get; set; }
        public string language { get; set; }
    }


    #endregion


    #region 详细数据

    public class Resources
    {

        

        public class Ext_properties
        {
            /// <summary>
            /// 
            /// </summary>
            public string sub_catalog { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string library_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string catalog_type { get; set; }
        }

        public class Custom_properties
        {
            /// <summary>
            /// 
            /// </summary>
            public Dictionary<string, string> preview { get; set; }           
        }

        public class Tag_listItem
        {
            /// <summary>
            /// 
            /// </summary>
            public string tag_id { get; set; }
            /// <summary>
            /// 电子教材
            /// </summary>
            public string tag_name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string tag_dimension_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int order_num { get; set; }
        }

        public class RequirementsItem
        {
            /// <summary>
            /// 
            /// </summary>
            public string name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string type { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string value { get; set; }
        }


        public class Ti_itemsItem
        {
            /// <summary>
            /// 
            /// </summary>
            public string ti_md5 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int ti_size { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ti_storage { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> ti_storages { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ti_file_flag { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ti_is_source_file { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public Custom_properties custom_properties { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ti_printable { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ti_format { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string lc_ti_format { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string language { get; set; }
                       

            public class RequirementsItem
            {
                /// <summary>
                /// 
                /// </summary>
                public string name { get; set; }
                /// <summary>
                /// 
                /// </summary>
                public string type { get; set; }
                /// <summary>
                /// 
                /// </summary>
                public string value { get; set; }
            }

            public class Custom_properties
            {
                /// <summary>
                /// 
                /// </summary>
                public List<RequirementsItem> requirements { get; set; }
                /// <summary>
                /// 
                /// </summary>
                public string identification { get; set; }
            }
        }

        public class Resource_container_cp
        {
            /// <summary>
            /// 
            /// </summary>
            public string version_visible { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string resource_source { get; set; }
        }

        public class Chapter_tree
        {
        }

        public class Resource_structure
        {
            /// <summary>
            /// 
            /// </summary>
            public Chapter_tree chapter_tree { get; set; }
        }

        public class Smart_link
        {
            /// <summary>
            /// 
            /// </summary>
            public string smart_link { get; set; }
        }

        public class Provider_listItem
        {
            /// <summary>
            /// 智慧中小学
            /// </summary>
            public string name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string type { get; set; }
        }

        public class Root
        {
            /// <summary>
            /// 
            /// </summary>
            public string id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            /// 
            public Custom_properties custom_properties { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string resource_type_code { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string creator { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string language { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string provider { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string create_time { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string update_time { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<Tag_listItem> tag_list { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string status { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string create_container_id { get; set; }
            /// <summary>
            /// 文档
            /// </summary>
            public string resource_type_code_name { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<Ti_itemsItem> ti_items { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public Resource_container_cp resource_container_cp { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string online_time { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> chapter_ids { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> chapter_paths { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> teachmeterial_ids { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> tag_paths { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string container_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string tenant_id { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public Resource_structure resource_structure { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public Smart_link smart_link { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string version_id { get; set; }
            /// <summary>
            /// （根据2022年版课程标准修订）义务教育教科书·道德与法治一年级上册
            /// </summary>
            public string title { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<string> label { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public List<Provider_listItem> provider_list { get; set; }
        }
    }


    #endregion


}
